const KoaRoter = require("@koa/router");
const { verifyAuth } = require("../middleware/login.middleware");

const LabelController = require("../controller/label.controller");
const labelRouter = new KoaRoter({ prefix: "/label" });

labelRouter.post("/", verifyAuth, LabelController.create);
labelRouter.post("/list", verifyAuth, LabelController.list);

module.exports = labelRouter;
